home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / shell / xd-2.08 / xd-2 / xd / Config / Config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-30  |  545 b   |  39 lines

  1. #ifndef _Config_H_
  2. #define _Config_H_
  3.  
  4. #include <stdlib.h>
  5. #include <unistd.h> 
  6. #include <ConfigFile.h>
  7.  
  8. #include "../configure.h" 
  9.  
  10. class Config
  11. {
  12.     public:
  13.         enum ConfigHome
  14.     {
  15.         from_the_root,
  16.         from_HOME
  17.     };
  18.         enum ConfigExtra
  19.     {
  20.         single_search,
  21.         double_search,
  22.         full_search
  23.     };
  24.         Config();
  25.     ~Config();
  26.     char const *get_home(void) const;
  27.     ConfigHome get_homeparam(void) const;
  28.     ConfigExtra get_extraparam(void) const;
  29.     private:
  30.     ConfigExtra
  31.         extraparam;
  32.         ConfigHome
  33.         homeparam;
  34.         char
  35.         *home,
  36.         *cdfile;
  37. };
  38. #endif
  39.